const gameCompany = {
    index: true,
    border: true,
    stripe: true,
    menuAlign: 'center',
    loadingText: "加载中...",
    loadingSpinner: "svg",
    loadingSvgViewBox: "-10, -10, 50, 50",
    loadingBackground: "rgba(122, 122, 122, 0.6)",
    labelWidth: 120,
    column: [
        {
            label: "ID",
            prop: "id",
            display: false,
            width: "55"
        },

        {
            label: "游戏公司名称",
            prop: "name",
            span: 12,
            search: true,
            searchLabelWidth: 120,
            rules: [
                {
                    required: true,
                    message: "请输入游戏公司名称",
                    trigger: "blur"
                }
            ]
        },

        {
            label: "apiUrl",
            prop: "apiUrl",
            span: 12,
            search: false,
            overHidden: true,
            rules: [
                {
                    required: true,
                    message: "请输入apiUrl",
                    trigger: "blur"
                }
            ]
        },

        {
            label: "apiKey",
            prop: "apiKey",
            span: 12,
            search: false,
            overHidden: true,
            rules: [
                {
                    required: true,
                    message: "请输入apiKey",
                    trigger: "blur"
                }
            ]
        },

        {
            label: "apiSecret",
            prop: "apiSecret",
            span: 12,
            search: false,
            overHidden: true,
            rules: [
                {
                    required: true,
                    message: "请输入apiSecret",
                    trigger: "blur"
                }
            ]
        },

        {
            label: "lobbyUrl",
            prop: "lobbyUrl",
            span: 12,
            search: false,
            overHidden: true,
            rules: [
                {
                    required: true,
                    message: "请输入lobbyUrl",
                    trigger: "blur"
                }
            ]
        },

        {
            label: '游戏公司封面',
            prop: 'icon',
            span: 12,
            type: 'upload',
            fileType: 'img',
            limit: 1,
            listType: 'picture-img',
            oss: 's3',
            rules: [
                {
                    required: true,
                    message: "请上传游戏公司封面",
                    trigger: "change"
                }
            ]
        },


    ],
}

export default gameCompany